package com.qumitech.visualnovel.model.dao.console;

import com.alibaba.fastjson.annotation.JSONField;

public class MatchTemplateConfDO {
    @JSONField(name = "template_id")
    private Long id;

    @JSONField(name = "game_id")
    private String gameId;

    @JSONField(name = "match_name")
    private String matchName;

    @JSONField(name = "template_name")
    private String templateName;

    @JSONField(name = "template_info")
    private String templateInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGameId() {
        return gameId;
    }

    public void setGameId(String gameId) {
        this.gameId = gameId == null ? null : gameId.trim();
    }

    public String getMatchName() {
        return matchName;
    }

    public void setMatchName(String matchName) {
        this.matchName = matchName == null ? null : matchName.trim();
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName == null ? null : templateName.trim();
    }

    public String getTemplateInfo() {
        return templateInfo;
    }

    public void setTemplateInfo(String templateInfo) {
        this.templateInfo = templateInfo == null ? null : templateInfo.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", gameId=").append(gameId);
        sb.append(", matchName=").append(matchName);
        sb.append(", templateName=").append(templateName);
        sb.append(", templateInfo=").append(templateInfo);
        sb.append("]");
        return sb.toString();
    }
}